package com.project.bean;

import java.time.LocalDate;

/**
 * 班级实体类
 */
public class ClassRoomBean {
    /**编号*/
    private int id;
    /**班级名称*/
    private String name;
    /**开班老师*/
    private String teacher;
    /**开班日期*/
    private LocalDate startDate;

    public ClassRoomBean() {
    }

    public ClassRoomBean(String name, String teacher, LocalDate startDate) {
        this.name = name;
        this.teacher = teacher;
        this.startDate = startDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    @Override
    public String toString() {
        return name;
    }
}
